package com.yufei.entity.query;

public class BaseQueryInfo {

	//每页记录数
private int count=15;
//当前页数
private int cpn=1;
//总记录数
private int totalcount;
//总页数newPaperListnewPaperList
private int pageCount;
public int getPageCount() {
	return pageCount;
}
public void setPageCount(int pageCount) {
	this.pageCount = pageCount;
}
public int getCount() {
	return count;
}
public void setCount(int count) {
	this.count = count;
}




public int getCpn() {
	return cpn;
}
public void setCpn(int cpn) {
	this.cpn = cpn;
}
public int getTotalcount() {
	return totalcount;
}
public void setTotalcount(int totalcount) {
	this.totalcount = totalcount;
this.setPageCount(totalcount/count+(totalcount%count>0?1:0));
	
	
}


}
